<template>
  <view class="home-container">
    <text class="title">首页</text>
	<TabBar/>
  </view>
</template>

<script setup>
import { ref, onMounted } from 'vue';
import TabBar from '@/components/TabBar.vue'
// 页面数据
const pageData = ref({
  message: '欢迎来到首页'
});

// 生命周期钩子
onMounted(() => {
  console.log('首页页面加载完成');
});
</script>

<style scoped>
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.title {
  font-size: 32rpx;
  color: #333;
}
</style>

<script>
export default {
  data() {
    return {
      title: 'Hello',
    }
  },
  onLoad() {},
  methods: {},
}
</script>

<style>
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin-top: 200rpx;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50rpx;
}

.text-area {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 36rpx;
  color: #8f8f94;
}
</style>
